// JavaScript Document
function select_panel(){

	var link=Document.querySelectorAll('select_panel');

	for (i = 0; i < link.length; i++) {
		link[i].addEventListener('click',function(a){
			var a=e.target;

			var txt=a.innerText;

			var cls=a.className;

			console.log(txt+"--"+cls);
		})
	};
}
select_panel();